using MediatR;
using RBAC.ErrorCode;
using System;

namespace SmartHealthcare.Write.Api.Application.Command.Medicine
{
    /// <summary>
    /// 药品入库命令
    /// </summary>
    public class AddMedicineCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 药品名称
        /// </summary>
        public string MedicineName { get; set; }

        /// <summary>
        /// 药品规格
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 剂型
        /// </summary>
        public string DosageForm { get; set; }

        /// <summary>
        /// 药品类型
        /// </summary>
        public string DrugType { get; set; }

        /// <summary>
        /// 费用名称
        /// </summary>
        public string CostName { get; set; }

        /// <summary>
        /// 库存数量
        /// </summary>
        public int Inventory { get; set; }

        /// <summary>
        /// 库存上限
        /// </summary>
        public int InventoryLimit { get; set; }

        /// <summary>
        /// 库存下限
        /// </summary>
        public int InventoryLowerLimit { get; set; }

        /// <summary>
        /// 售价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 进价
        /// </summary>
        public decimal PurchasePrice { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime? Date_ofManufacture { get; set; }

        /// <summary>
        /// 有效日期
        /// </summary>
        public DateTime? EffectiveDate { get; set; }

        /// <summary>
        /// 功效
        /// </summary>
        public string Effect { get; set; }
    }
}
